package yuan.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import yuan.dao.UserMapper;
import yuan.entity.User;
import yuan.service.UserService;

import java.util.List;

/**
 * @author 苑庆涛
 * @create 2019-12-31 17:55
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    public List<User> findAll() {
        return userMapper.findAll();
    }
}
